<FORM method="post" action="/testmodule/next/">
    <H1>Прохождение теста '{$TestModule->name}'</H1>
    <a href="{$fvConfig->get('dir_web_root')}own/listtest/" onclick="go('{$fvConfig->get('dir_web_root')}testmodule/'); return false;" class="left">вернутся к списку</a>
    <fieldset>
        <legend>Информация</legend>
        <p>{$Question.text}</p>
        {foreach name=text item=answer from=$Question.answers key=key}
        <p><input name="answer" value="{$key+1}" id="answer_{$key}" type="radio">{$answer.answer}</p>
        {/foreach}
    </fieldset>
    <input type="hidden" id="redirect" name="redirect" value="" />
    {if $question_id > 8}
    	<input type="submit" id="finish" name="redirect" value="Закончить"  onclick="$('redirect').value = 'finish';">
    {else}
    	<input type="submit" id="submit" name="submit" value="Продолжить">
    {/if}
    
</FORM>